import { baseRequest } from '@/utils/request'

const request = (url, ...arg) => baseRequest(`/biz/payAccount/` + url, ...arg)

/**
 * biz_pay_accountApi接口管理器
 *
 * @author 薛守立
 * @date  2024/09/18 11:38
 **/
export default {
	// 获取biz_pay_account分页
	bizPayAccountPage(data) {
		return request('page', data, 'get')
	},
	// 提交biz_pay_account表单 edit为true时为编辑，默认为新增
	bizPayAccountSubmitForm(data, edit = false) {
		return request(edit ? 'edit' : 'add', data)
	},
	// 删除biz_pay_account
	bizPayAccountDelete(data) {
		return request('delete', data)
	},
	// 获取biz_pay_account详情
	bizPayAccountDetail(data) {
		return request('detail', data, 'get')
	}
}
